% Created 2023-09-21 Thu 17:23
% Intended LaTeX compiler: xelatex
\documentclass[presentation]{beamer}
\usepackage{xeCJK}
\usepackage[margin=0.8in]{geometry}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\usepackage{bookmark}
\documentclass[aspectratio=169]{beamer}
\usetheme{default}
\author{凉凉 (iGEM UCAS 2023 Hardware)}
\date{\today}
\title{iGEM UCAS 2023 Hardware Project Introduction}
\hypersetup{
 pdfauthor={凉凉 (iGEM UCAS 2023 Hardware)},
 pdftitle={iGEM UCAS 2023 Hardware Project Introduction},
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs 30.0.50 (Org mode 9.6.7)}, 
 pdflang={English}}
\begin{document}

\maketitle
\begin{frame}{Outline}
\tableofcontents
\end{frame}

\begin{frame}[label={sec:orga4512cf}]{About Us}
\begin{figure}[htbp]
\centering
\includegraphics[width=0.5\textwidth]{../img/detect-device-prototype.png}
\caption{\label{fig:org7277f86}1\textsuperscript{st} Prototype of our detector}
\end{figure}
\end{frame}

\begin{frame}[label={sec:org3ba8494}]{Target and Goal}
\begin{itemize}
\item Temperature Control
\item Bioluminescence Detector
\item \alert{High-throughput} Detector Array \& Modularized Detector Part
\item Reproducible \alert{Low Cost} Detector Design
\item \alert{User-friendly} Interface
\end{itemize}
\end{frame}

\begin{frame}[label={sec:orgc44a516}]{Project Structure}
\begin{figure}[htbp]
\centering
\includegraphics[width=0.618\textwidth]{../img/detect-device-main-structure.jpg}
\caption{\label{fig:orgb7de7db}Main Structure of the Detector Array}
\end{figure}

\begin{itemize}
\item Instead of make \alert{ONE} detector to do everything,
we split the sensor into several small detectors,
which communicate via I\textsuperscript{2}C Bus Line.
\item Edge computation on each detector: temperature
and bioluminescence conversion via bisection.
\end{itemize}
\end{frame}

\begin{frame}[label={sec:org6368cfc}]{Single Board Mode}
\begin{figure}[htbp]
\centering
\includegraphics[width=0.618\textwidth]{../img/structure.png}
\caption{\label{fig:org63d1747}A Typical application scene of Single Board Mode Application}
\end{figure}

\begin{itemize}
\item Our detector can also work in single board mode.
\item Easy to call the module just like a DS18B20.
\end{itemize}
\end{frame}

\begin{frame}[label={sec:org601f5da},fragile]{Detailed Implementation}
 \begin{verbatim}
int main (void) {
  <<init-uart>>;             /* Setup Serial Port communication */
  <<init-gpio>>;             /* Setup Pin IO */
  <<init-adc>>;              /* Use interrupt to flash ADC Routine. */

  while (1) {
    <<uart-send-message>>;   /* Send Message every 1000 chip clock. */
    SYS_Delay(1000);
  }
}
\end{verbatim}
\captionof{figure}{\label{lst:org5ea88cc}Pseudocode of our main code.}

\begin{itemize}
\item To cut down cost, we use STC8G1K08A (RMB 0.76, 10bit ADC, freq 11M).
\footnote{A detailed explanation of this chip could be found at \href{https://li-yiyang.github.io/igem/stc8g1k08a/}{STC8G1K08A (Chinese)}.}
\item The project based on opensource lib \href{https://github.com/IOsetting/FwLib\_STC8}{FwLib STC8} work.
\item for more detailed information, see \href{https://gitee.com/igem\_ucas\_china/hardware-2023}{our repo}.
\end{itemize}
\end{frame}

\begin{frame}[label={sec:orgb87b703},fragile]{Current Status}
 \begin{center}
\includegraphics[width=0.618\textwidth]{../img/user-interface-early-stage.png}
\label{org60a0d95}
\end{center}

\begin{itemize}
\item Single Board Working Mode \alert{DONE}.
\item User Interface are under construction (see \texttt{pyserial/main.py},
note that it's still in early development).
\item PCB are under design.
\end{itemize}
\end{frame}

\begin{frame}[label={sec:orge144894}]{Future}
\begin{itemize}
\item Online data query \& analyze and AI assisted event spot.
\item Cut down the manufacturing cost.
\item Modularize the detector: make it much more smaller or even embedded it into chip.
\item Programable User Interface with graphics based control.
\end{itemize}
\end{frame}
\end{document}